package com.bean;

import java.util.Date;

public class Words {
    private int id;
    private Date pubtime;
    private String author;
    private String content;
    private String reContent;//滤后
    private int state=1;//留言默认不显示，博主来筛选

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getPubtime() {
        return pubtime;
    }

    public void setPubtime(Date pubtime) {
        this.pubtime = pubtime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReContent() {
        return reContent;
    }

    public void setReContent(String reContent) {
        this.reContent = reContent;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Words{" +
                "id=" + id +
                ", pubtime=" + pubtime +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", reContent='" + reContent + '\'' +
                ", state=" + state +
                '}';
    }
}
